﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ATM
{
    public partial class adminMainPanel : Form
    {
        public adminMainPanel()
        {
            InitializeComponent();
        }

        private void button3_Click(object sender, EventArgs e)
        {

        }

        private void exit_Click(object sender, EventArgs e)
        {
            this.Hide();    // exit from the form 
            welcom  welcomeForm = new welcom();
            welcomeForm.Show();

        }

        private void allTransactions_Click(object sender, EventArgs e)
        {
            allTransactions atForm = new allTransactions();
            this.Hide();
            atForm.Show();
            

        }

        private void userTransactions_Click(object sender, EventArgs e)
        {
            userTransactions utForm = new userTransactions();
            this.Hide();
            utForm.Show();
        }

        private void addUser_Click(object sender, EventArgs e)
        {
            addUser au = new addUser();
            this.Hide();
            au.Show();
        }

        private void deleteUser_Click(object sender, EventArgs e)
        {
            deleteUser du = new deleteUser();
            this.Hide();
            du.Show();

        }
    }
}
